{include file="$MODULES_DIR/install/templates/layout_top.html"}
{t assignTo=title}Language{/t}
{include file="$MODULES_DIR/install/templates/layout_tabs.html" step=3 title=$title}
<p>{t}Pagizer is multilingual, but you need to define a default language. This language is used by Pagizer to set some default documents like users or preferences.{/t}</p>
<form method="post" action="">
    <label for="language">{t}Default language{/t}</label>
    <select name="form[lang]" id="language" style="height:22px;">
        {foreach from=$langs item=lang}
        <option value="{$lang.iso_639_1}" {if $lang.iso_639_1 == $selectedLang}selected="selected"{/if}>{$lang.label_en} ({if $lang.label_orig && $lang.label_orig != $lang.label_en}{$lang.label_orig} - {/if}{$lang.iso_639_1})</option>
        {/foreach}
    </select>
    <div class="centeredButton"><button class="bigGreenButton" type="submit">{t}Continue{/t} <img src="{$URL_RELATIVE}/bo/install/media/next.png" alt="" /></button></div>
</form>
{include file="$MODULES_DIR/install/templates/layout_bottom.html"}